/**
 * Created by xiebang
 * Description
 * User:小谢
 * Date:2021-11-11
 * Time:17:42
 */
public class TestBinaryTree {
    class Node{
        public char val;
        public Node left;
        public Node right;
        public Node(char val){
            this.val = val;
        }
    }

    public void createTree(){
        Node A = new Node('A');
        Node B = new Node('B');
        Node C = new Node('C');
        Node D = new Node('D');
        Node E = new Node('E');
        Node F = new Node('F');
        Node G = new Node('G');
        Node H = new Node('H');

        A.left = B;
        A.right = C;
        B.left = D;
        B.right = E;
        C.left = F;
        C.right = G;
        E.right = H;

    }

}
